package com.zhangtai.modules.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class LeaveBpmVo {


    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long id;
    @ApiModelProperty("0婚假,1;产假,2;病假,3;丧假,4;事假,5;补休,6;年假,7;陪产假,8;哺乳假,9")
    private Integer type;
    @ApiModelProperty("请假开始日期")
    private Date leaveBeginTime;
    @ApiModelProperty("请假结束日期")
    private Date leaveEndTime;
    @ApiModelProperty("请假天数")
    private String leaveDay;
    @ApiModelProperty("申请说明")
    private String leaveRemark;
    @ApiModelProperty("附件文件id多个以逗号分隔")
    private String fileUrl;

    /**
     *    createType  0 PC端，1 移动端，2 小程序，3 其他系统，4 未知
      */
    @ApiModelProperty("0 PC端，1 移动端，2 小程序，3 其他系统，4 未知")
    private Integer createType;

}
